package com.foreknow.demo9Exercise4;

/**
 * 小亮-->职员-->无奖金
 */
public class Clerk extends Employee {
    private double comm;

    public double getComm() {
        return comm;
    }

    public void setComm(double comm) {
        this.comm = comm;
    }

    public double yuE() {
        double yuE = 0;
        Clerk emp = new Clerk();
        emp.setSalary(6000);
        emp.setComm(0);
        yuE = emp.getSalary()+emp.getComm();
        return yuE;
    }
}
